package com.wash.shoes.domain.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel(value = "处理图片")
public class ShoeUpdateDto {

    @ApiModelProperty(value = "订单的Id")
    @NotNull(message = "订单的Id不能为空")
    String orderId;

    @ApiModelProperty(value = "配件的图片")
    private String fittingImg;

    @ApiModelProperty(value = "鞋子的图片")
    @NotEmpty(message = " shoeImgDtoList 不能为空")
    private List<ShoeImgDto> shoeImgDtoList = new ArrayList<>();
}
